<!--
  Generated template for the NotePubPage page.

  See http://ionicframework.com/docs/components/#navigation for more info on
  Ionic pages and navigation.
-->
<ion-header>
  <ion-navbar>
    <!-- <ion-buttons start (click)="dismiss()">
      <button ion-button icon-only>
            <ion-icon  name="arrow-back"  color="#ffffff" style="padding-right: 5px; font-size: 26px;" ></ion-icon>
        </button>
    </ion-buttons> -->
    <ion-title>发布帖子</ion-title>
    <ion-buttons end (click)="doPub()">
      <a>发送</a>
    </ion-buttons>
  </ion-navbar>
</ion-header>
 

<ion-content padding>

  <ion-card>
    <ion-card-header>
      <ion-textarea  rows="2" maxLength="30"  placeholder="标题（至少5个字）" [(ngModel)]="publishObj.article_title"></ion-textarea>
    </ion-card-header>
    <ion-card-content>
      <ion-textarea rows="8" maxLength="150" placeholder="说点什么吧" [(ngModel)]="publishObj.article_content"></ion-textarea>
    </ion-card-content>

    <ion-grid>
      <ion-row>
      
      </ion-row>
    </ion-grid>
  </ion-card>

</ion-content>

<ion-footer>
  <ion-navbar>
      <ion-buttons start>
        <button ion-button icon-only (click)="presentActionSheetCamr()">
         <ion-icon name="md-camera" color="#ffffff" style="padding-right: 5px; font-size: 26px;" ></ion-icon>
       </button>
      </ion-buttons>
      <button ion-button color="danger" round class="column" (click)="presentActionSheet()">{{nailerName}}</button>
  </ion-navbar>
</ion-footer>